package com.xiyi.shouxin.entity.user;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import lombok.Data;

@Data
@Table(value = "music")
public class Music {
    @Id
    @Column(value = "id")
    private Long id;
    @Column(value = "name")
    private String name;
    @Column(value = "thumb")
    private String thumb;
    @Column(value = "url")
    private String url;
    /*
     * 1：启用，0：禁用
     */
    @Column(value = "status")
    private Integer status;
    @Column(value = "created_at")
    private Date createdAt;

}
